<template>
  <div class="box">
    <span class="m-1" @click="navBack">{{ language.nav.Products }}</span>
    <span class="m-2">＞{{ props.proName }}</span>
  </div>
</template>
<script lang="ts" setup>
import { language } from '~/conf';
const props = defineProps<{
  proName: string
}>()

const navBack = () => {
  window.location.href='/products';
};
</script>
<style lang="stylus" scoped>

.box{
  padding: 19px 0 27px 28px;
  .m-1{
    font-weight: 500;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
  }
  .m-2{
    font-weight: 500;
    font-size: 14px;
    color: #111111;
  }
}
</style>
